import modal from '../pages/modal/container/modal2/index.vue'
export default{
    components:{
        modal
    },
    data(){
        return{
        visible:false
        }
     },
     methods:{
        showModal(){
            this.visible = true
        },
        //点击确定触发
        yes(){
            this.visible = false
            // alert('提交成功')
        },
        //点击取消触发
        no(){
            this.visible = false
            // alert('已取消')
        }
    }
}